Skip to main content

DeserializeListWithElements<TSerializer>

Assembly: ServiceStack.Text.dll​
View Source​
Declaration
public static class DeserializeListWithElements<TSerializer>
where TSerializer : ITypeSerializer

Methods​

GetListTypeParseFn(Type, Type, ParseStringDelegate)​

View Source​
Declaration
public static Func<string, Type, ParseStringDelegate, object> GetListTypeParseFn(Type createListType, Type elementType, ParseStringDelegate parseFn)
Returns​

System.Func<System.String,System.Type,ServiceStack.Text.Common.ParseStringDelegate,System.Object>

Parameters​
TypeName
System.TypecreateListType
System.TypeelementType
ServiceStack.Text.Common.ParseStringDelegateparseFn

GetListTypeParseStringSpanFn(Type, Type, ParseStringSpanDelegate)​

View Source​
Declaration
public static DeserializeListWithElements<TSerializer>.ParseListDelegate GetListTypeParseStringSpanFn(Type createListType, Type elementType, ParseStringSpanDelegate parseFn)
Returns​

ServiceStack.Text.Common.DeserializeListWithElements<TSerializer>.ParseListDelegate

Parameters​
TypeName
System.TypecreateListType
System.TypeelementType
ServiceStack.Text.Common.ParseStringSpanDelegateparseFn

StripList(ReadOnlySpan<Char>)​

View Source​
Declaration
public static ReadOnlySpan<char> StripList(ReadOnlySpan<char> value)
Returns​

ReadOnlySpan<System.Char>

Parameters​
TypeName
ReadOnlySpan<System.Char>value

ParseStringList(String)​

View Source​
Declaration
public static List<string> ParseStringList(string value)
Returns​

System.Collections.Generic.List<System.String>

Parameters​
TypeName
System.Stringvalue

ParseStringList(ReadOnlySpan<Char>)​

View Source​
Declaration
public static List<string> ParseStringList(ReadOnlySpan<char> value)
Returns​

System.Collections.Generic.List<System.String>

Parameters​
TypeName
ReadOnlySpan<System.Char>value

ParseIntList(String)​

View Source​
Declaration
public static List<int> ParseIntList(string value)
Returns​

System.Collections.Generic.List<System.Int32>

Parameters​
TypeName
System.Stringvalue

ParseIntList(ReadOnlySpan<Char>)​

View Source​
Declaration
public static List<int> ParseIntList(ReadOnlySpan<char> value)
Returns​

System.Collections.Generic.List<System.Int32>

Parameters​
TypeName
ReadOnlySpan<System.Char>value

ParseByteList(String)​

View Source​
Declaration
public static List<byte> ParseByteList(string value)
Returns​

System.Collections.Generic.List<System.Byte>

Parameters​
TypeName
System.Stringvalue

ParseByteList(ReadOnlySpan<Char>)​

View Source​
Declaration
public static List<byte> ParseByteList(ReadOnlySpan<char> value)
Returns​

System.Collections.Generic.List<System.Byte>

Parameters​
TypeName
ReadOnlySpan<System.Char>value